#-------------------------------------------------
#
# Project created by QtCreator 2017-05-04T15:51:11
#
#-------------------------------------------------


QT   += core gui  sql charts printsupport

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = WatchDog
TEMPLATE = app

# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO
QMAKE_LFLAGS_RELEASE = $$QMAKE_LFLAGS_RELEASE_WITH_DEBUGINFO

SOURCES += main.cpp\
        mainwindow.cpp \
    Logger.cpp \
    dbservice.cpp \
    appmonitortaskmanager.cpp \
    appmonitortask.cpp \
    appmonitorwidget.cpp \
    common.cpp \
    Runable.cpp \
    AutoReleaseRunable.cpp \
    SimpleRunable.cpp \
    appmonitor.cpp \
    appmonitorlog.cpp \
    appmonitorlogwidget.cpp \
    systemmonitormanager.cpp \
    syscfg.cpp \
    sysmemmonitor.cpp \
    syscpumonitor.cpp \
    sysdiskmonitor.cpp \
    sysmonitorlogwidget.cpp \
    BaseMsg.cpp \
    cJSON.cpp \
    TcpConnectHandler.cpp \
    TcpServer.cpp \
    TLV.cpp \
    TLVEncodedObject.cpp \
    reportstatusreq.cpp \
    qcustomplot.cpp\
    alarmreq.cpp \
    commonresp.cpp \
    statusreportertask.cpp \
    sysmonitorlog.cpp \
    getapprunningstateres.cpp \
    commonreq.cpp \
    apprunninginfo.cpp \
    getsystemrunningstateres.cpp \
    diskinfotlvencodedobj.cpp \
    appupdatereq.cpp

HEADERS  += mainwindow.h \
    Logger.h \
    common.h \
    dbservice.h \
    appmonitor.h \
    appmonitortaskmanager.h \
    appmonitortask.h \
    appmonitorwidget.h \
    Runable.h \
    AutoReleaseRunable.h \
    SimpleRunable.h \
    appmonitorlog.h \
    appmonitorlogwidget.h \
    systemmonitormanager.h \
    syscfg.h \
    sysmemmonitor.h \
    syscpumonitor.h \
    sysdiskmonitor.h \
    sysmonitorlogwidget.h \
    BaseMsg.h \
    cJSON.h \
    TcpConnectHandler.h \
    TcpServer.h \
    TLV.h \
    TLVEncodedObject.h \
    qcustomplot.h \
    alarmreq.h \
    commonresp.h \
    statusreportertask.h \
    sysmonitorlog.h \
    getapprunningstateres.h \
    commonreq.h \
    apprunninginfo.h \
    getsystemrunningstateres.h \
    diskinfotlvencodedobj.h \
    appupdatereq.h

FORMS    += mainwindow.ui \
    appmonitorwidget.ui \
    appmonitorlogwidget.ui \
    sysmonitorlogwidget.ui

RESOURCES += \
    uires.qrc \
    images.qrc

RC_ICONS = WatchDog.ico

win32: LIBS += -lWS2_32
